using System;

namespace MediaFramework
{
	public class Sample
	{
		public Sample ( byte[] buf, IMediaProperties mediaProperties, TimestampInfo timeInfo, ulong sequenceNumber, bool isSyncpoint = true)
		{
			Buffer = buf;
			MediaProperties = mediaProperties;
			TimeInfo = timeInfo;
			SequenceNumber = sequenceNumber;
			IsSyncpoint = isSyncpoint;
		}

		public byte[] Buffer{ get; private set;}
		public IMediaProperties MediaProperties { get; private set; }
		public TimestampInfo TimeInfo { get; private set; }
		public ulong SequenceNumber { get; private set; }
		public bool IsSyncpoint { get; private set; }
	}
}

